package com.ruoyi.project.module.connector.domain;

import com.ruoyi.project.module.domain.domain.Domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 接口模块表 api_connector
 * 
 * @author ruoyi
 * @date 2018-10-02
 */
public class Connector extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 接口ID */
	private Integer apiConnectorId;
	/** 所属项目ID */
	private Integer apiProjectnameId;
	/** 域名ID */
	private Integer apiDomainId;
	/** 接口url路径 */
	private String urlContextpath;
	/** 请求类型 */
	private String method;
	/** 接口名称 */
	private String interfacename;
	/** 接口描述 */
	private String description;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	private Domain domain;

	/** 请求参数 */
	private String parameters;

	/** 请求主体信息 */
	private String postbody;

	/** 返回信息 */
	private String result;

	public String getParameters() {
		return parameters;
	}

	public void setParameters(String parameters) {
		this.parameters = parameters;
	}

	public String getPostbody() {
		return postbody;
	}

	public void setPostbody(String postbody) {
		this.postbody = postbody;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public Domain getDomain() {
		return domain;
	}

	public void setDomain(Domain domain) {
		this.domain = domain;
	}

	public void setApiConnectorId(Integer apiConnectorId)
	{
		this.apiConnectorId = apiConnectorId;
	}

	public Integer getApiConnectorId() 
	{
		return apiConnectorId;
	}
	public void setApiProjectnameId(Integer apiProjectnameId) 
	{
		this.apiProjectnameId = apiProjectnameId;
	}

	public Integer getApiProjectnameId() 
	{
		return apiProjectnameId;
	}
	public void setApiDomainId(Integer apiDomainId) 
	{
		this.apiDomainId = apiDomainId;
	}

	public Integer getApiDomainId() 
	{
		return apiDomainId;
	}
	public void setUrlContextpath(String urlContextpath) 
	{
		this.urlContextpath = urlContextpath;
	}

	public String getUrlContextpath() 
	{
		return urlContextpath;
	}
	public void setMethod(String method) 
	{
		this.method = method;
	}

	public String getMethod() 
	{
		return method;
	}
	public void setInterfacename(String interfacename) 
	{
		this.interfacename = interfacename;
	}

	public String getInterfacename() 
	{
		return interfacename;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apiConnectorId", getApiConnectorId())
            .append("apiProjectnameId", getApiProjectnameId())
            .append("apiDomainId", getApiDomainId())
            .append("urlContextpath", getUrlContextpath())
            .append("method", getMethod())
            .append("interfacename", getInterfacename())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
